import { AutoIncrementId, Boolean, CreateDate, Entity, Mobile, Openid, PrimaryUuid, Realname, Uuid, Money, Code } from "../utils";


@Entity({
    name: 'fuli_company_user'
})
export class FuliCompanyUser {
    @PrimaryUuid()
    id: string;

    @AutoIncrementId()
    company_user_id: number;

    @Uuid()
    member_id: string;

    @Uuid()
    company_id: string;

    @Boolean()
    multi: boolean;

    @Uuid({ nullable: true })
    department_id: string;

    @CreateDate()
    create_date: Date;

    @Money({ default: 0 })
    money: number;
}